package com.gpframework.module.sys.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.gpframework.common.core.domain.BasePlusEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * @ClassName sysAnnouncement
 * @Author gpframework
 * @Date 2022-08-23
 * @Version 1.0.0
 * @Description 系统公告 PO对象
 */
@Data
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@Accessors(chain = true)
@TableName("sys_announcement")
public class SysAnnouncement extends BasePlusEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(type = IdType.ASSIGN_ID)
    private Long announcementId;
    /**
     * 业务类型
     */
    private String businessType;

    /**
     * 版本号
     */
    private String version;

    /**
     * 系统更新时间
     */
    private Date sysUpdateTime;

    /**
     * 公告内容
     */
    private String content;

    /**
     * 排序
     */
    private Integer sort;

    /**
     * 备注
     */
    private String remarks;

}
